import random

def get_sms():
    """ 随机生成四位数验证码 """
    return random.randint(1000, 9999)


# if __name__ == '__main__':
#     a = get_sms()
#     print(a)